import {request} from "../../request";

export function getGoperationById(id){
    return request({
        url:`/sys/log-operation/${id}`,
        method:'get'
    })
}


export function getGoperationPage(data){
    return request({
        url:'/sys/log-operation/page',
        method:'put',
        data:data
    })
}

export function putGoperation(data){
    return request({
        url:'/sys/log-operation',
        method:'put',
        data:data
    })
}
export function postGoperation(data){
    return request({
        url:'/sys/log-operation',
        method:'post',
        data:data
    })
}

export function deleteGoperation(data){
    return request({
        url:`/sys/log-operation`,
        method:'delete',
        data:data
    })
}
export function exportGoperation(data){
    return request({
        url:`/sys/log-operation/export`,
        method:'get',
        data:data,
        responseType:'blob'
    })
}
